home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / hosts / vaxult2.h < prev    next >
C/C++ Source or Header  |  1993-09-27  |  887b  |  38 lines

  1. #include <ansidecl.h>
  2. #include <fcntl.h>
  3. #include <errno.h>
  4. #include <stdio.h>
  5. #include <sys/types.h>
  6. #include <sys/stat.h>
  7. #include <ctype.h>
  8. #include <string.h>
  9. #include <sys/file.h>
  10.  
  11. #ifndef    O_ACCMODE
  12. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  13. #endif
  14. #define SEEK_SET 0
  15. #define SEEK_CUR 1
  16.  
  17. #ifndef    DONTDECLARE_MALLOC
  18. extern PTR    malloc    PARAMS ((unsigned));
  19. extern PTR    realloc    PARAMS ((PTR, unsigned));
  20. extern int    free    PARAMS ((PTR));
  21. #endif
  22. extern int    abort    PARAMS ((void));
  23. extern void    bcopy    PARAMS ((char*, char*, int));
  24. extern void    exit    PARAMS ((int));
  25. extern void    bzero    PARAMS ((char *, int));
  26. extern int strtol();
  27.  
  28. #include <machine/param.h>
  29. #include <machine/vmparam.h>
  30. #define    HOST_PAGE_SIZE        (NBPG*CLSIZE)
  31. #define    HOST_MACHINE_ARCH    bfd_arch_vax
  32.  
  33. #define    HOST_TEXT_START_ADDR    USRTEXT
  34. #define    HOST_STACK_END_ADDR    USRSTACK
  35. #undef    HOST_BIG_ENDIAN_P
  36.  
  37. #include "fopen-same.h"
  38.